package com.itheima.stringbuilder;

public class ssb {
    public static void main(String[] args) {
        long st = System.currentTimeMillis();
         String s ="";
        for (int i = 0; i <50000;i++) {
            s += i;
        }
        long end = System.currentTimeMillis();
        System.out.println(end - st);
    }
}
